Part One: Screen Shot


Part Two: The VRML Source Code (picframe.wrl)

Here is the entire VRML 2.0 source code. Type (or paste) this code into a file called "snyproto.wrl".

#VRML Draft #3 V2.0 utf8
#Example of Sony_Appearance PROTO's backface and description fields
PROTO Sony_Appearance [
  field         SFBool    backface          FALSE
  exposedField  SFString  description       ""
  exposedField  SFNode    material          NULL
  exposedField  SFNode    texture           NULL
  exposedField  SFNode    textureTransform  NULL
  ] {
    Appearance {
      material IS material
      texture IS texture
      textureTransform IS textureTransform
    }
}
Transform {
  children [
    Shape {
      appearance Sony_Appearance {
        backface TRUE
        description "Two-sided Faces"
        material Material {
          diffuseColor 0 1 1
        }
      }
      geometry IndexedFaceSet {
        coord Coordinate {
          point [
                  -1 -1 -1,
                  -1 -1 1,
                  1 -1 1,
                  1 -1 -1,
                  -1 1 -1,
                  -1 1 1,
                  1 1 1,
                  1 1 -1,
          ]
        }
        coordIndex [
                      0, 1, 5, 4, -1,
                      1, 2, 6, 5, -1,
                      2, 3, 7, 6, -1,
                      3, 0, 4, 7, -1,
        ]
      }
    }
  ]
}